import {
  hyRequest
} from "./index";
// 获取mvlist
export function getTopMv(offset = 0, limit = 20) {
  return hyRequest.get({
    url: '/top/mv',
    data: {
      offset,
      limit
    }
  })
}
// 获取mv的url
export function getMvUrl(id) {
  return hyRequest.get({
    url: '/mv/url',
    data: {
      id
    }
  })
}
//获取mv详细信息
export function getMvInfo(mvid) {
  return hyRequest.get({
    url: '/mv/detail',
    data: {
      mvid
    }
  })
}

// 获取mv的相关视频
export function getMvRelateVideo(id) {
  return hyRequest.get({
    url: '/related/allvideo',
    data: {
      id
    }
  })
}